package com.delivery.www.service;

import com.delivery.www.po.User;

import java.sql.SQLException;
import java.util.List;

public interface UserService {
    //用户登录
    public User login(String name, String password);

    //用户注册
    public boolean register(String name, String password, String email);

    //用户充值
    public boolean recharge(int userId,Float value);

    //获取所有用户
    public List<User> getUser();
}
